/*
 * @Date: 2023-06-27 17:29:39
 * @作者: 七星玉蘅
 * @邮箱: 1532250426@qq.com
 * @LastEditTime: 2023-06-27 17:56:57
 * @FilePath: \kaifamiao\client\src\utils\sever.js
 */
const http=require('http')
const router=require('./router')

http.createServer(function(req,res){
    //交给路由处理，请求对象，响应对象
    router(req,res)
}).listen('3000', () => {
	console.log("服务器启动3000端口");
})